﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    /// <summary>
    /// 出库单详情
    /// </summary>
    public class GroupShippingOrderDto
    {
        public int Id { get; set; }

        /// <summary>
        /// 出库单类型 0:上级调拨  1:本级自筹
        /// </summary>
        public int? BillType { get; set; }

        /// <summary>
        /// 出库单号
        /// </summary>
        public string OrderSn { get; set; }

        /// <summary>
        /// 关联单号
        /// </summary>
        public string RelevanceOrderSn { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string Agent { get; set; }

        /// <summary>
        /// 供应单位Id
        /// </summary>
        public int? SupplierId { get; set; }

        /// <summary>
        /// 供应单位编号
        /// </summary>
        public string SupplierCode { get; set; }

        /// <summary>
        /// 供应单位名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 供应单位联系人
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 供应单位联系方式
        /// </summary>
        public string ContactMobile { get; set; }

        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? ProductDate { get; set; }

        /// <summary>
        /// 出库凭证
        /// </summary>
        public string ShippingVoucher { get; set; }

        
        /// <summary>
        /// 当前登陆人Id
        /// </summary>
        public int? NowUserId { get; set; }

        /// <summary>
        /// 当前登陆人姓名
        /// </summary>
        public string NowUserName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 角色身份
        /// </summary>
        public string NowRoule { get; set; }

        /// <summary>
        /// 级别状态
        /// </summary>
        public bool ExamineState { get; set; } = false;

        /// <summary>
        /// 订单状态
        /// </summary>
        public int State { get; set; } = 0;

        //public string FileUrl { get; set; }
        public List<FileClass> File { get; set; }

        public int? CreateUserId { get; set; }

        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 明细字段
        /// </summary>
        public List<TShippingLockCell> shippingLockCells {get; set; } = new List<TShippingLockCell>();

    }

    
}
